﻿@model CSF.Customers.Data.Country
@{
}
@using (Html.BeginForm())
{  
    @Html.HiddenFor(model => model.NameTextId)
    <div id="container">
        <div id="formStyle">
            <fieldset>
                <legend></legend>
                @Html.ValidationSummary(true)
                <p class="first">
                    <label for="code">
                        Code</label>
                    @Html.TextBoxFor(model => model.Code)
                    @Html.ValidationMessageFor(model => model.Code)
                </p>
                <p>
                    <label for="name">
                        Name1</label>
                    @Html.EditorFor(model => model.Name1, "MultiLangTextInput")
                    @Html.ValidationMessageFor(model => model.Name1)
                </p>
                <p>
                    <label for="web">
                        Regin</label>
                    @Html.DropDownListFor(m => m.RegionCode, ViewData["RegionList"] as IEnumerable<SelectListItem>, "--please select--")
                    @Html.ValidationMessageFor(model => model.RegionCode)
                </p>
                <p>
                    <label for="web">
                        Sequence</label>
                    @Html.TextBoxFor(model => model.Sequence)
                    @Html.ValidationMessageFor(model => model.Sequence)
                </p>
                <p>
                    @Html.ActionLink("Back to List", "Index")
                </p>
            </fieldset>
            <fieldset>
                <legend></legend>
            </fieldset>
            <p class="submit">
                <button type="submit">
                    @ViewBag.DetailMode</button></p>
        </div>
    </div>
}

